<!-- 原 add 页面备份 -->
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="baseId" name="baseId" type="hidden" th:value="${baseId}">

                        <div class="form-group">
                            <label class="col-sm-3 control-label">套餐名称：</label>
                            <div class="col-sm-3">
                                <input id="combosName" name="combosName" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">套餐金额：</label>
                            <div class="col-sm-2">
                                <input id="combosFee" name="combosFee" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-8 control-label">
                                <!-- 分割线 -->
                            </label>
                        </div>
                        <!-- 服务类目: 如: 安心服务保障  begin -->
                        <div class="cateId_1">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">服务类目：</label>
                                <div class="col-sm-3">
                                    <input name="category" class="form-control" type="text"> 如: 安心服务保障;高端住宿
                                </div>

                                <div class="col-sm-3 col-sm-offset-3">
                                    <button type="button" class="btn btn-primary" onclick="createCategory()">新增大类
                                    </button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">服务类目内容：</label>
                                <div class="col-sm-8">
                                    <div class="row">
                                        <div class="col-sm-12">
                                            <div class="ibox float-e-margins">
                                                <div class="ibox-content">
                                                    <table class="table table-bordered">
                                                        <thead>
                                                        <tr>
                                                            <th>编号</th>
                                                            <th>项目名称</th>
                                                            <th>备注</th>
                                                            <th>#</th>
                                                            <th>新增</th>
                                                            <th>删除</th>
                                                        </tr>
                                                        </thead>
                                                        <tbody class="itemId_1">
                                                        <tr>
                                                            <td>
                                                                <input name="itemNo" class="form-control" type="text">
                                                            </td>
                                                            <td>
                                                                <input name="itemName" class="form-control" type="text">
                                                            </td>
                                                            <td>
                                                                <input name="itemRemark" class="form-control"
                                                                       type="text">
                                                            </td>
                                                            <td>
                                                                <input name="itemIntro" class="form-control"
                                                                       type="text">
                                                            </td>
                                                            <td>
                                                                <button type="button" class="btn btn-primary"
                                                                        onclick="appendRow(1)">新增
                                                                </button>
                                                            </td>
                                                            <td>
                                                                <button type="button" class="btn btn-danger"
                                                                        onclick="removeRow(this)">删除
                                                                </button>
                                                            </td>
                                                        </tr>
                                                        </tbody>
                                                    </table>

                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        </div>

                        <input id="categoryTrCount" name="categoryTrCount" type="hidden">
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/usabb/maternityCombos/add.js">
</script>
</body>
</html>
